<!--
 * @Descripttion: your project
 * @version: 1.0
 * @Author: huxin
 * @Date: 2023-06-28 15:58:07
 * @LastEditTime: 2023-10-13 12:14:07
-->
<template>
  <!-- <div class="HomeView">
    HomeView页面
  </div> -->
  <h1>{{ msg }}:</h1>
  <h3>{{ count }}</h3>
</template>
<script setup lang="ts">
// import NewTest from '@/views/newTest.vue'

import {
  ref
  , onMounted
  // , nextTick 
} from "vue"
import {
  useRouter
  // , useRoute 
} from 'vue-router'
const router = useRouter()
onMounted(() => {
  // console.log('mounted', router);
  // const routeValue = router.currentRoute.value
  // console.log('routeValue', routeValue);
})

const msg: string = '你好'
const countRef = ref(0)
const count: number = countRef.value







</script>

